package com.base.configuration.service.base;

import com.base.common.persistent.model.Configuration;

/**
 * 
 * @author Administrator
 *
 */
public interface ConfigurationService {
	/**
	 * 增加
	 * 
	 * @param {@link Configuration configuration}
	 * @return int
	 */
	public int add(Configuration configuration);

	/**
	 * 删除
	 * 
	 * @param {@link Configuration configuration}
	 * @return int
	 */
	public int delete(Configuration configuration);

	/**
	 * 更新
	 * 
	 * @param {@link Configuration configuration}
	 * @return int
	 */
	public int update(Configuration configuration);

	/**
	 * 条件查询
	 * 
	 * @param {@link Configuration configuration}
	 * @return {@link Configuration}
	 */
	public Configuration query(Configuration configuration);

}
